package com.lzj.demo.design.factory.service.impl;

import com.lzj.demo.design.factory.CouponResult;
import com.lzj.demo.design.factory.service.CouponService;
import com.lzj.demo.design.factory.service.ICommodity;
import lombok.extern.slf4j.Slf4j;

import java.util.Map;

@Slf4j
public class CouponCommodity implements ICommodity {

    private CouponService couponService;

    @Override
    public void sendCommodity(String uid, String commodityId, String bizId, Map<String, String> extMap) {
        //CouponResult result = couponService.sendCoupon(uid,commodityId,bizId);
        log.info("--> 发送优惠券");
    }
}
